import { defineStore } from 'pinia';

export interface AppConfig {
  collapse: boolean;
}

export const useAppConfigStore = defineStore(
  'useAppConfigStore',
  () => {
    const appConfig = reactive<AppConfig>({ collapse: false });
    return { appConfig };
  },
  {
    persist: true,
  },
);
